package com.uzai.console.para;

import io.swagger.annotations.ApiModelProperty;

/**
 * 远程调用抖音订单库远程拉取订单库订单接口参数
 * @author liuqi
 * @date 2021年08月23日 14:39
 */
public class DyOrderApiRemoteApiPara {
    private Long beginTime;
    private Long endTime;
    private Integer queryType;   //订单时间查询类型(1-付款时间 4-更新时间)
    /**
     * 授权token
     */
    private String accessToken;

    //子订单号
    private String childOrderNo;

    //appid
    private String appId;

    @ApiModelProperty("联盟类型（0-抖客联盟；1-穿山甲联盟）")
    private Integer tokenType;

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getQueryType() {
        if(queryType == null){
            queryType = 1;
        }
        return queryType;
    }

    public void setQueryType(Integer queryType) {
        this.queryType = queryType;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getChildOrderNo() {
        return childOrderNo;
    }

    public void setChildOrderNo(String childOrderNo) {
        this.childOrderNo = childOrderNo;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Integer getTokenType() {
        return tokenType;
    }

    public void setTokenType(Integer tokenType) {
        this.tokenType = tokenType;
    }
}
